package com.ruoyi.znjc.service;

import java.util.List;
import com.ruoyi.znjc.domain.ZnjcConversations;

/**
 * 会话Service接口
 * 
 * @author ruoyi
 * @date 2025-07-26
 */
public interface IZnjcConversationsService 
{
    /**
     * 查询会话
     * 
     * @param conversationId 会话主键
     * @return 会话
     */
    public ZnjcConversations selectZnjcConversationsByConversationId(Long conversationId);

    /**
     * 查询会话列表
     * 
     * @param znjcConversations 会话
     * @return 会话集合
     */
    public List<ZnjcConversations> selectZnjcConversationsList(ZnjcConversations znjcConversations);

    /**
     * 新增会话
     * 
     * @param znjcConversations 会话
     * @return 结果
     */
    public int insertZnjcConversations(ZnjcConversations znjcConversations);

    /**
     * 修改会话
     * 
     * @param znjcConversations 会话
     * @return 结果
     */
    public int updateZnjcConversations(ZnjcConversations znjcConversations);

    /**
     * 批量删除会话
     * 
     * @param conversationIds 需要删除的会话主键集合
     * @return 结果
     */
    public int deleteZnjcConversationsByConversationIds(Long[] conversationIds);

    /**
     * 删除会话信息
     * 
     * @param conversationId 会话主键
     * @return 结果
     */
    public int deleteZnjcConversationsByConversationId(Long conversationId);
}
